home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / hstreset.zip / HSTRESET.DOC < prev    next >
Text File  |  1992-03-22  |  3KB  |  114 lines

  1.  
  2.                                 HSTRESET
  3.  
  4.            A solution to the "reset" problem with HST modems
  5.          A quick way to place hayes compatible modems off-hook
  6.  
  7. This is a small program that will reset your HST modem.  It can be used
  8. in your BOARD.BAT file to prevent PCBoard from getting into an endless
  9. "modem reset error" loop when the phone is ringing.
  10.  
  11. HSTRESET is very simple.  It places the modem off-hook and then returns
  12. to the BBS.  It knows about the two messages that the HST can generate,
  13. and will handle them automatically.
  14.  
  15. HSTRESET is also useful in your AUTOEXEC file to place your BBS modems
  16. off-hook while the system is booting up and going through the
  17. initialization prior to loading up the BBS software.
  18.  
  19.  
  20. USAGE
  21. =====
  22.  
  23. HSTRESET port
  24.  
  25. For example,
  26.         HSTRESET 1
  27. for COM1, and
  28.         HSTRESET 2
  29. for COM2.
  30.  
  31. 'port' may be 1 through 8.
  32.  
  33. To use non-standard COM ports, add SET statements before calling
  34. hstreset.  For example, to reset a com port at 338 hex (824 decimal) and
  35. irq 4, the statements
  36.         SET COMIRQ=4
  37.         SET COMBASE=824
  38.         HSTRESET 1
  39.  
  40.  
  41. INSTALLATION
  42. ============
  43.  
  44. First, you need to use PCBSETUP to change tell PCBoard to drop to DOS
  45. after each caller.  This will give HSTRESET a chance to do it's work.
  46.  
  47. Next, pkace a copy of HSTRESET.EXE in your pcboard system directory (or
  48. any other directory listed in PATH).
  49.  
  50. Finally, edit your board.bat file.  Here is the one I use:
  51.  
  52.    1.    @echo off
  53.    2.    if exist event.bat rename event.bat event.sys
  54.    3.    if exist remote.bat rename remote.bat remote.sys
  55.    4.    if exist door.bat del door.bat
  56.    5.    if exist endpcb del endpcb
  57.    6.    pcboard
  58.    7.    if exist door.bat door
  59.    8.    if exist remote.bat remote
  60.    9.    if exist event.bat event
  61.    10.   if exist endpcb goto end
  62.    11.   board
  63.    12.   :end
  64.    13.   del endpcb
  65.    14.   hstreset 1              <<-- "hstreset 2" for com2
  66.    15.   if errorlevel 1 board
  67.    16.   echo Type BOARD to restart PCBoard
  68.  
  69. Notice that I added lines 14 and 15 to a "standard" board.bat file. Line
  70. 14 calls up HSTRESET to reset COM1:. Line 15 checks to see if you really
  71. want to drop to DOS.  If you pressed (escape) while in HSTRESET, the
  72. batch file will fall through to line 16 and drop to dos.  Otherwise, it
  73. will recycle the board.
  74.  
  75.  
  76.  
  77. DISCLAIMER
  78. ==========
  79.  
  80. This is a free program.  Use it at your own risk.
  81.  
  82.  
  83.  
  84. RELEASE HISTORY
  85. ===============
  86.  
  87. 21-Feb-88 1.0
  88.    Initial coding and release.
  89.  
  90. 22-Mar-92 2.0
  91.    Recompiled with newer ProKit libraries to allow use of COMBASE and
  92.    COMIRQ environment variables for non-standard COM ports.
  93.  
  94. If you have any questions, bugs, or suggestions, here is how to contact
  95. me:
  96.  
  97. Mailing address...
  98.    Samuel H. Smith
  99.    P.O. Box 4808
  100.    Panorama City, CA 91412-4808
  101.  
  102. The Tool Shop BBS...
  103.     Phone number         Modem type
  104.    --------------    ---------------------
  105.    (818) 891-3772    US Robotics HST 9600
  106.    (818) 891-1344    Hayes-V series 9600
  107.    (818) 891-6780    US Robotics 2400 (free line)
  108.  
  109. The latest version is always available for downloading.
  110.  
  111. Enjoy!     Samuel H. Smith
  112.            Author and Sysop of The Tool Shop.
  113.    
  114.